/* O Nama CSS */
.onama_around_border{
	display:block;
}
.onama_around_border button{
    height: 90vh;
    width: 99.5vw;
    font-family: 'Poppins',sans-serif;
    position: relative;
    margin: auto;
	margin-bottom:0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #17181d;
    border: 6px solid #17fa8e;
    color: white;
    font-size: 8vw;
    font-weight: 600;
    letter-spacing: 6px;
    box-shadow: 30px 30px 50px rgba(0,0,0,0.5);
    cursor: pointer;
    outline: none;
	transition:0.4s;
}
.onama_around_border button:before{
    content: "";
    position: absolute;
    height: 15vh;
    width: 100vw;
    background-color: #17181d;
    margin: auto;
    left: -6px;
    right: 0;
    bottom: -6px;
    transition: width 0.7s,
                height 0.7s 0.7s;
}
.onama_around_border button:after{
    content: "";
    position: absolute;
    height: 15vh;
    width: 100vw;
    background-color: #17181d;
    margin: auto;
    left: -6px;
    right: 0;
    top: -6px;
    transition: width 0.7s,
                height 0.7s 0.7s;
}
.onama_around_border button:hover:before,
.onama_around_border button:hover:after{
    width: 0;
    height: 6px;
    transition: height 0.7s,
                width 0.7s 0.7s;
}
.onama_around_border p
{
	opacity:0;
	color:white;
	position:absolute;
	top: -10%;
  left: 0;
	right:0;
	font-size:1.8vw;
	transition:0.5s;
	letter-spacing: 0;
}
.onama_around_border button:hover p
{
		opacity:1;
		transition:3.2s;
}
.onama_around_border button:hover{
	color:#17181d;
	transition:0.3s;
}
section {
  height: 120vh;
  display: flex;
  padding: 0 4em;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}
.container_New {
  perspective: 1000px;
  height: 35vh;
  width: 100%;
  cursor: pointer;
  margin-bottom:3%;
}
.card_New {
  transform-style: preserve-3d;
  height: 100%;
  width: 100%;
  transition: 0.5s ease;
}
.front_New,
.back_New {
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0.6em;
  position: absolute;
  top: 0;
  bottom: 0;
  backface-visibility: hidden;
}
.front_New {
  background: linear-gradient(to right, #05a45c, #043a53);
}
.front_New img {
  width: 27%;
}
.content_New {
  transform: translateZ(60px);
}
.content_New h3 {
  font-size: 1.9em;
  margin-top: 1em;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.content_New p {
  font-size: 1.1vw;
  line-height: 1.5em;
  letter-spacing: 0.02em;
  padding: 0 0;
  color:white;
  margin-top:0;
}
.back_New {
  background-color: #28253a;
  transform: rotateX(180deg);
}
.container_New:hover .card_New {
  transform: rotateX(180deg);
}
.div_dugme_za_kontakt{
	display:block;
}
.Dugme_za_kontakt{
	display:block;
	align-items:center;
	justify-content:center;
	padding: 3% 7%;
    font-size: 2.8vw;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;  
	text-align:center;
	max-width:50%;
	margin: auto;
	margin-bottom:15%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
	box-shadow: 30px 30px 50px rgba(0,0,0,0.5);
	background: linear-gradient(to left, #05a45c, #043a53);
	transition:0.8s;
}
.div_dugme_za_kontakt a{
	color:white;
	text-decoration: none;
}
.Dugme_za_kontakt:hover {
            background-color: #45a049;
            transform: scale(1.1);
			transition:0.8s;
        }
		
.o_nama_radionice{
	position:relative;
	background-color:#17181d;
	text-align:center;
	margin-bottom:15%;
	padding-bottom:8%;

}
.o_nama_radionice h3{
	font-size:5vw;
	color:white;
	font-weight: 600;
	position:relative;
	display:inline-block;
}

.o_nama_radionice h3::before{
	content: '';
	position:absolute;
	left:0;
	bottom:0;
	background-color:#17fa8e;
	height:2.5px;
	width:100%;
	box-sizing:border-box;
}

.o_nama_radionice p{
	font-size:2.6vw;
	color:white;
	font-weight: 300;
	position:relative;
	text-align:left;
	margin-bottom:0;
}
.wrapper{
  display: flex;
  max-width: 95vw;
  position: relative;
  margin-left:2%;
  margin-top:5%;
}
.wrapper i{
  top: 50%;
  height: 44px;
  width: 44px;
  color: #343F4F;
  cursor: pointer;
  font-size: 1.15rem;
  position: absolute;
  text-align: center;
  line-height: 44px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}
.wrapper i:active{
  transform: translateY(-50%) scale(0.9);
}
.wrapper i:hover{
  background: #f2f2f2;
}
.wrapper i:first-child{
  left: 0px;
  display: none;
}
.wrapper i:last-child{
  right: 0px;
}
.wrapper .carousel{
  font-size: 0px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
}
.carousel.dragging{
  cursor: grab;
  scroll-behavior: auto;
}
.carousel.dragging img{
  pointer-events: none;
}
.carousel img{
  height: 340px;
  object-fit: cover;
  user-select: none;
  margin-left: 14px;
  width: calc(100% / 3);
}
.carousel img:first-child{
  margin-left: 0px;
}
@media screen and (max-width: 900px) {
  .carousel img{
    width: calc(100% / 2);
  }
}
@media screen and (max-width: 550px) {
  .carousel img{
    width: 100%;
  }
}


/*Media Querry za kartice*/
@media screen and (min-width: 992px) {
  section {
    padding: 0 0em;
  }
  .container_New {
    flex-basis: 0 0 33.33%;
    max-width: 33%;
    padding: 0 0em;
  }
}
/*Media Querry za kartice*/

@media only screen and (orientation: portrait) {
.onama_around_border button{
    height: 100vh;
    width: 99.5vw;
    font-size: 8vh;
}
.onama_around_border p
{
	opacity:0;
	color:white;
	position:absolute;
	top: 0;
    left: 0;
	right:0;
	bottom:0;
	font-size:2vh;
	transition:0.5s;
	height: auto;
}
.content_New p {
  font-size: 1.5vh;
}
.Dugme_za_kontakt{

	padding: 7% 20%;
    font-size: 3vh;
	margin-Top:50%;
	margin-bottom:50%;

}
.o_nama_radionice h3{
	font-size:5vh;

}
.o_nama_radionice p{
	font-size:2.3vh;
}
}


@media only screen and (max-width: 281px) {
.hover-text2 {
  width: 100%;

}
.hover-text2 p {
	align-items: center; 
	text-align:center;  
	justify-content:center;
	color: white; 
	font-size:2.3vh;
	 top: -85%;
	left: 12%;
	
}
}

@media only screen and (max-width: 345px) {
.onama_around_border p
{

	font-size:1.9vh;

}
}

@media only screen and (max-width: 415px) {
.hover-text2 {
  width: 100%;

}
.hover-text2 p {
	align-items: center; 
	text-align:center;  
	justify-content:center;
	color: white; 
	font-size:2.3vh;
	  top: -85%;
	left: 12%;
}
.content_New p {
  font-size: 1.5vh;
}
}

@media only screen and (max-height: 575.98px) and (orientation: landscape) {
.onama_around_border button{
    height: 80vh;
    width: 99.5vw;
    font-size: 2vw;
}
.content_New p {
  font-size: 1.8vw;
}
section {
  height: 200vh;
}
.container_New {
  height: 35vh;
  margin-bottom:13%;
  margin-top:1%;
}
.card_New {
  height: 60vh;
}
.front_New img {
  width: 22%;
}
.content_New p {
  font-size: 2vw;
}
.onama_around_border button{
    height: 100vh;
    width: 99.5vw;
    font-size: 8vw;
}
.onama_around_border p
{
	opacity:0;
	color:white;
	position:absolute;
	top: -14%;
    left: 0;
	right:0;
	bottom:0;
	font-size:1.9vw;
	transition:0.5s;
	height: auto;
}
}